#include "mylist.h"
#include<iostream>
#include<vector>
#include<list>
#include<algorithm>
//using namespace std;
using namespace bite;
int main() {
	bite::list<int> lt;
	lt.push_back(1);
	lt.push_back(2);
	lt.push_back(3);
	lt.push_back(4);

	bite::list<int>::iterator it = lt.begin();

	while (it != lt.end())
	{
		(*it) += 1;
		cout << *it << " ";
		++it;
	}
	cout << endl;

	return 0;
}